// store文件夹下index.js
import fetch from "../assets/js/fetch";
import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);

import loginStore from "./loginStore";
import account from "./account";
import product from "./product";
import productType from "./productType";

export default new Vuex.Store({
  modules: {
    loginStore, // 登录状态
    account,// 用户管理
    product,//商品管理
    productType,//商品类型管理
  },
  state: {

  },
  mutations: {

  },
  actions: {

  }
})